package com.jrx.anytxn.customer.dto.customer;

import com.jrx.anytxn.common.constant.RegexConstant;
import com.jrx.anytxn.customer.dto.BaseApiReq;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.List;

/**
 * 客户信息补充的请求
 * @author xqy
 * @version 1.0
 * @date 2019/11/19
 */
public class CustomeMobileModifyReq extends BaseApiReq implements Serializable {


    private static final long serialVersionUID = 865503307428144815L;

    @NotBlank(message = "修改手机号不能为空")
    @Pattern(regexp = RegexConstant.MOBILE_FORMAT, message = "手机号格式不对，请正确输入")
    @ApiModelProperty(value="修改手机号")
    private String mobile;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }


}